Skip to content

Conversation

@crisbeto
Copy link
Member

@crisbeto crisbeto commented Nov 14, 2016

Prevents the Material placeholder from overlapping with native input masking (e.g. on input[type="time"].
Previously, this was hardcoded for date, however it didn't take into account that not all browsers support date inputs.
This change runs a feature test on each of the types that should have input masking and only triggers the special behavior if the type is supported.

Fixes #1853.

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Nov 14, 2016
…king

Prevents the Material placeholder overlapping with native input masking (e.g. on `input[type="time"]`.
Previously, this was hardcoded for `date`, however it didn't take into account that not all browsers support `date` inputs.
This change runs a feature test on each of the types that should have input masking and only triggers the special behavior if the type is supported.

Fixes angular#1853.
@jelbourn
Copy link
Member

@crisbeto I think this will conflict with #1858

@crisbeto
Copy link
Member Author

It's expected. I'll resolve the conflicts if #1858 gets merged first.

@jelbourn
Copy link
Member

jelbourn commented Dec 2, 2016

Will be done as part of #2052

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes PR author has agreed to Google's Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Input type datetime-local overlaps with placeholder

3 participants